package com.xjrsoft.module.visual.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xjrsoft.module.visual.entity.XjrVisualReleaseRelation;
import com.xjrsoft.module.visual.vo.VisualReleaseHomeVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * BI发布权限表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2021-03-15
 */
public interface XjrVisualReleaseRelationMapper extends BaseMapper<XjrVisualReleaseRelation> {

    List<VisualReleaseHomeVo> getVisualOfRelationObject(@Param("objectId") String objectId,@Param("category") Integer category,@Param("roleIds") List<String> roleIds,@Param("keyword") String keyword,@Param("isDefault") Integer isDefault);


    List<VisualReleaseHomeVo> getVisualOfRelationObject(@Param("objectId") String objectId,@Param("category") Integer category,@Param("roleIds") List<String> roleIds,@Param("keyword") String keyword,@Param("isDefault") Integer isDefault,IPage<VisualReleaseHomeVo> page);
}
